package com.cobra.mall.domain.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;

import java.io.Serializable;

@TableName("order_info")
@Data
@Accessors(chain = true)
public class OrderEntity implements Serializable {
    @TableField("id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("goods_id")
    private Long goodsId;

    @TableField("goods_num")
    private Integer goodsNum;

    @TableField("payer")
    private String payer;

    @TableField("gmt_create")
    private String gmtCreate;
}
